package day0116;

public class Test3 {
    public static void main(String[] args) {
        Circle c1 = new Circle();
        c1.setRadius(3);//3

        Circle c2 = new Circle();
        c2.setRadius(5);//5
    }
}



class Circle{
    private double radius;
    public void setRadius(double radius){
        this.radius = radius;
        //System.out.println(this.radius);
        System.out.println(this);//this代表当前对象
    }

}